@import "~./config/styles/bgc.less";

html,
body,
:global(#root) {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  font-family: PingFangSC-Regular, Chinese Quote, -apple-system,
    BlinkMacSystemFont, Segoe UI, PingFang SC, Source Han Sans SC,
    Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial,
    sans-serif;
  font-weight: normal;
  background-origin: padding-box;
  overflow-x: hidden;

  // 设置双击不选中文字
  .clickNoSelectText();

  // 让网页整体变成灰色
  // .htmlToGray();

  @media (max-width: 1024px) {
    .sider {
      display: none;
    }

    .header {
      padding-left: 0;
      padding-right: 50px;

      .menu {
        display: flex;
        align-items: center;
        height: 100%;
      }
    }
  }

  @media (max-width: 900px) {
    .treeWrapper {
      display: none;
    }
  }
}
